-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Align error message of _pyio.TextIOWrapper.seek with its C implementation
#128852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks @DimmaDont for finding this.
|
Can you confirm that this aligns with the C implementation of |
_pyio.TextIOWrapper.seek with its C implementation
|
should align now. |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add a NEWS entry for this; error message changes are technically user-facing.
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
| @@ -0,0 +1,2 @@ | |||
| Align ``_pyio.TextIOWrapper.seek``'s file closed check with its C | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep the technical details out of it. Could you say something about the error message?
|
how's this? |
Misc/NEWS.d/next/Library/2025-01-15-23-51-44.gh-issue-128852.89wrex.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Library/2025-01-15-23-51-44.gh-issue-128852.89wrex.rst
Outdated
Show resolved
Hide resolved
…9wrex.rst Co-authored-by: Peter Bierma <[email protected]>
fix error message on seek of closed TextIOWrapper file in the python implementation of the io module